php forum
php mysql forum
php mysql smarty
 
Topic Options
#255625 - 08/02/03 03:15 PM Finished-[6.2-6.3-6.4] Board Rules 1.2
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Mod Name / Version: Board Rules 1.2 <br /> <br />Description:Allows you to add a link to display your Board Rules. <br /> <br />Working Under: UBB.Threads 6.2-6.3-6.4 <br /> <br />Mod Status: Beta <br /> <br />Any pre-requisites: none <br /> <br />Author(s): JoshPet <br /> <br />Date: 08/02/03 <br /> <br />Credits: Dalantech for Table Wrappers and Omegatron for Bug Fixes <br /> <br />Files Altered: ubbt_footer.tmpl, /languages/english/generic.php <br /> <br />New Files: showrules.php, showrules.tmpl <br /> <br />Database Altered: none <br /> <br />Info/Instructions: Edti the rules from the Admin Menu. You may wish to use simple HTML like <br /> for linebreaks so that your rules appear best. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Demo: Here at threadsdev. Link at bottom of screen. <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files. <br /> <br />


Attachments
90622-BoardRules1.2.zip (309 downloads)



Edited by JoshPet (01/06/04 12:41 AM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#255626 - 08/02/03 11:50 PM Re: Beta-[6.2-6.3] Board Rules 1.2 [Re: Daine]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
Works great guys.....this really needs to be incorporated into the next update of UBB Threads.<br /><br />Just installed this under v6.3.1
_________________________
F-Body Hideout
Project Speedy

Top
#255627 - 08/03/03 06:10 PM Re: Beta-[6.2-6.3] Board Rules 1.2 [Re: Daine]
TonyN Offline
Journeyman

Registered: 06/13/03
Posts: 132
Loc: Berkeley out of this world
Great idea Josh! <br /> <br />This led me to see how to solve one of my problems, wanting to have a board rules link on every page - just put it in the footer (and maybe in the thing at the top, too)! I had a look at the footer template to see how these additions (like the "Delete Cookies" button) were added. <br /> <br />But instead of making the full set of changes in your mod, all I did was add these two lines in the template: <br /> | <br /><a href=/testboard/faq.php?Cat=#rules>Board Rules</a> <br /> <br />(after "{$template['privacy_statement']}" <br /> <br />This takes one directly to the board rules as stated in the FAQ, as seen by clicking on the "Board Rules" link in the footer on my test board. <br /> <br />This worked much like what I had done on the my test board's new user screen, to avoid having a different source for board rules than on the FAQ. (I guess I should just move that link into the separate board rules new user signup, huh?) <br /> <br />All seems to work! Do you see any problems with it? <br /> <br />Tony <img src="/forum/images/graemlins/cool.gif" alt="" />

Top
#255628 - 08/03/03 06:15 PM Re: Beta-[6.2-6.3] Board Rules 1.2 [Re: BOOO_YAAA]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I don't follow what you are asking?<br /><br />The rules in the FAQ are generic. You can link to them if you edit them with your own rules. Otherwise this mod includes what you put in the /includes/boardrules.php file. <br /><br />If you want to keep your rules in the FAQ then you can edit them in the /languages/english/faq.php language file.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#255629 - 08/03/03 06:24 PM Re: Beta-[6.2-6.3] Board Rules 1.2 [Re: Daine]
TonyN Offline
Journeyman

Registered: 06/13/03
Posts: 132
Loc: Berkeley out of this world
Sorry...yes, I had already edited them in the FAQ, because I would have had to change them there anyway, for consistency. Furthermore, I didn't want the whole list of rules at the top of the new user signup page, and just wanted to have a link to the rules, anyway. So that's how I had already done the board rules. <br /> <br />So when I saw from your mod how you placed a new button in the footer, it occurred to me thatI could add the "Board Rules" button, and just use the link to the FAQ! <br /> <br />Anyway, thanks for the idea...Tony

Top
#255630 - 08/03/03 06:28 PM Re: Beta-[6.2-6.3] Board Rules 1.2 [Re: BOOO_YAAA]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Ah cool. <img src="/forum/images/graemlins/cool.gif" alt="" /><br />Now I get it - glad it worked out for you. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#255631 - 01/06/04 12:08 AM Re: Beta-[6.2-6.3] Board Rules 1.2 [Re: Daine]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
Josh, I have used this on my UBB.Threads v6.3 and I had no issues with this hack. I've also installed it on my v6.4 and no issues with it. Works great! <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /><br /><br />I don't know if others can vouch for this as well so you may be able to take it off the 'Beta' list and change it to 'Finished' for v6.2-v6.4.
_________________________
F-Body Hideout
Project Speedy

Top
#255632 - 01/06/04 12:41 AM Re: Beta-[6.2-6.3] Board Rules 1.2 [Re: General_Failure]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Thanks. <img src="http://www.ubbdev.com/forum/images/graemlins/waytogo.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#255633 - 10/04/04 10:58 AM Re: Beta-[6.2-6.3] Board Rules 1.2 [Re: Daine]
Magle Offline
Journeyman

Registered: 12/22/03
Posts: 109
Loc: Denmark
hmmmm... how can I make this work under 6.5? <br /> <br />all I get it this error message: <br />[]Warning: main(main.inc.php): failed to open stream: No such file or directory in /Library/Tenon/WebServer/WebSites/www.magle.dk/ubbthreads/showrules.php on line 20 <br /> <br />Fatal error: main(): Failed opening required 'main.inc.php' (include_path='.:/Library/Tenon/PHP/lib/php') in /Library/Tenon/WebServer/WebSites/www.magle.dk/ubbthreads/showrules.php on line 20[/] <br /> <br />thanks <br /> <br />(I know I was probably a little over optimistic to install a 6.3 mod, but still... <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />)
_________________________
my forum: Magle International Music Forums

Top
#255634 - 10/04/04 12:20 PM Re: Beta-[6.2-6.3] Board Rules 1.2 [Re: ]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Check the path to main.inc.php - these are now in yourthreads/includes
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#255635 - 10/04/04 12:42 PM Re: Beta-[6.2-6.3] Board Rules 1.2 [Re: Gorlum]
Magle Offline
Journeyman

Registered: 12/22/03
Posts: 109
Loc: Denmark
Ah...of course! Now it works, thanks Ian <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
my forum: Magle International Music Forums

Top
#255636 - 05/15/05 02:11 AM Re: Beta-[6.2-6.3] Board Rules 1.2 [Re: ]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
Yup, working under 6.5. Josh, you can update which versions this works with. I am currently using it with my v6.5.1.1. <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />

Top



Moderator:  Ian_W 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks